package com.shopping.huaju.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shopping.huaju.commodity.entity.vo.BaseAttrs;
import com.shopping.huaju.common.utils.PageUtils;
import com.shopping.huaju.commodity.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu 基本属性值
 *
 * @author tofu
 * @email tofu@qq.com
 * @date 2023-11-09 15:46:40
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //实现 根据 SpuSaveVo 传入的 基本属性列表，补全完整的基本属性信息入库
    void saveBaseAttrs(Long spuId,List<BaseAttrs> baseAttrs);
    List<ProductAttrValueEntity> baseAttrlistforspu(Long spuId);
}

